home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / patchlib539.lha / patchlib / include / PatchObsolete.h < prev    next >
C/C++ Source or Header  |  1996-12-07  |  1KB  |  38 lines

  1. #ifndef LIBRARIES_PATCHOBSOLETE_H
  2. #define LIBRARIES_PATCHOBSOLETE_H
  3. /*****************************************************************************/
  4. /*
  5. **    Filename:    libraries/patchobsolete.h
  6. **    Release:    5.0
  7. **    Date:        20.08.96
  8. **
  9. **      definition of structures, which are obsolete with the current version
  10. **         of patch.library
  11. **
  12. **    (C) Copyright 1993-96 Stefan Fuchs
  13. **    All Rights Reserved
  14. */
  15. /*****************************************************************************/
  16.  
  17. #ifndef    EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20.  
  21. /*----------------------------------------------------------------------------*/
  22. /* Structure required to install new patches via patch.library/InstallPatch() */
  23.  
  24. struct NewPatch                /*this structure is OBSOLETE from V2 on */
  25. {
  26.     APTR    NPAT_NewCode;        /* pointer to the patch code to be installed */
  27.     ULONG    NPAT_NewCodeSize;    /* optional length of NPAT_NewCode in bytes  */
  28.     APTR    NPAT_LibraryName;    /* pointer to the LibraryName                */
  29.     UWORD    NPAT_LibVersion;    /* version of Library to open                */
  30.     WORD    NPAT_LVO;        /* LVO of function to patch                  */
  31.     WORD    NPAT_Priority;        /* Priority (-127...+126) of the patch       */
  32.     UWORD    NPAT_Flags;        /* currently none defined (keep zero)        */
  33.     APTR    NPAT_PatchName;        /* optional pointer to an IDString           */
  34.     APTR    NPAT_Result2;        /* optional pointer to longword for Result2  */
  35. };
  36.  
  37. #endif    /* LIBRARIES_PATCHOBSOLETE_H */
  38.